package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 疾病靶点对象 disease_target
 * 
 * @author drx
 * @date 2025-05-12
 */
@ApiModel("疾病靶点")
public class DiseaseTarget extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
@ApiModelProperty("主键")
    private Long id;

    /** 疾病id */
    @Excel(name = "疾病id")
@ApiModelProperty("疾病id")
    private Long diseaseId;

    /** 靶点名称 */
    @Excel(name = "靶点名称")
@ApiModelProperty("靶点名称")
    private String name;



    /** 是否删除（0否；1是） */
@ApiModelProperty("是否删除（0否；1是）")
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public Long getDiseaseId() {
        return diseaseId;
    }

    public void setDiseaseId(Long diseaseId) {
        this.diseaseId = diseaseId;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("diseaseId", getDiseaseId())
            .append("name", getName())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
